//
//  Consts.swift
//  maosheng
//
//  Created by 何海涛 on 2019/8/10.
//

import Foundation
let BASE_URL = "http://maosheng.csproj.com/"
//客服链接
let contact = "http://h5.maosheng.csproj.com/pages/single/contact";
//关于我们
let about = "http://h5.maosheng.csproj.com/pages/single/about";
//商务合作
let cooperation = "http://h5.maosheng.csproj.com/pages/single/cooperation";
class Consts {
    // colors
    static let darkMain = UIColor(hexString: "#2f2f2f")
    static let darkUnimportant = UIColor(hexString: "#959595")
    
    static let redMain = UIColor(hexString: "#ed5c59")
    static let redUnimportant = UIColor(hexString: "#e25f5f")
    
    // fonts
    static let fontMain = UIFont.systemFont(ofSize: 18)
    static let fontMainBold = UIFont.systemFont(ofSize: 18, weight: .bold)
    static let fontSecondary = UIFont.systemFont(ofSize: 12.5)
    
    // values
    static let kScreenRect = UIScreen.main.bounds
    static let kScreenWidth = UIScreen.main.bounds.width
    static let kScreenFullHeight = UIScreen.main.bounds.height
    static let kScreenHeight = UIScreen.main.bounds.height - 44 - 20 // navigation bar , status bar.
    static let kPixel = 1.0 / UIScreen.main.scale
}
